Optimal. Leaf size=254 \[ \frac {(b d-a e)^4 (d+e x)^7 \sqrt {a^2+2 a b x+b^2 x^2}}{7 e^5 (a+b x)}-\frac {b (b d-a e)^3 (d+e x)^8 \sqrt {a^2+2 a b x+b^2 x^2}}{2 e^5 (a+b x)}+\frac {2 b^2 (b d-a e)^2 (d+e x)^9 \sqrt {a^2+2 a b x+b^2 x^2}}{3 e^5 (a+b x)}-\frac {2 b^3 (b d-a e) (d+e x)^{10} \sqrt {a^2+2 a b x+b^2 x^2}}{5 e^5 (a+b x)}+\frac {b^4 (d+e x)^{11} \sqrt {a^2+2 a b x+b^2 x^2}}{11 e^5 (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 254, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {784, 21, 45}
\begin {gather*} \frac {2 b^2 \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^9 (b d-a e)^2}{3 e^5 (a+b x)}-\frac {b \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^8 (b d-a e)^3}{2 e^5 (a+b x)}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^7 (b d-a e)^4}{7 e^5 (a+b x)}+\frac {b^4 \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^{11}}{11 e^5 (a+b x)}-\frac {2 b^3 \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^{10} (b d-a e)}{5 e^5 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 45
Rule 784
Rubi steps
\begin {align*} \int (a+b x) (d+e x)^6 \left (a^2+2 a b x+b^2 x^2\right )^{3/2} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int (a+b x) \left (a b+b^2 x\right )^3 (d+e x)^6 \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=\frac {\left (b \sqrt {a^2+2 a b x+b^2 x^2}\right ) \int (a+b x)^4 (d+e x)^6 \, dx}{a b+b^2 x}\\ &=\frac {\left (b \sqrt {a^2+2 a b x+b^2 x^2}\right ) \int \left (\frac {(-b d+a e)^4 (d+e x)^6}{e^4}-\frac {4 b (b d-a e)^3 (d+e x)^7}{e^4}+\frac {6 b^2 (b d-a e)^2 (d+e x)^8}{e^4}-\frac {4 b^3 (b d-a e) (d+e x)^9}{e^4}+\frac {b^4 (d+e x)^{10}}{e^4}\right ) \, dx}{a b+b^2 x}\\ &=\frac {(b d-a e)^4 (d+e x)^7 \sqrt {a^2+2 a b x+b^2 x^2}}{7 e^5 (a+b x)}-\frac {b (b d-a e)^3 (d+e x)^8 \sqrt {a^2+2 a b x+b^2 x^2}}{2 e^5 (a+b x)}+\frac {2 b^2 (b d-a e)^2 (d+e x)^9 \sqrt {a^2+2 a b x+b^2 x^2}}{3 e^5 (a+b x)}-\frac {2 b^3 (b d-a e) (d+e x)^{10} \sqrt {a^2+2 a b x+b^2 x^2}}{5 e^5 (a+b x)}+\frac {b^4 (d+e x)^{11} \sqrt {a^2+2 a b x+b^2 x^2}}{11 e^5 (a+b x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 377, normalized size = 1.48 \begin {gather*} \frac {x \sqrt {(a+b x)^2} \left (330 a^4 \left (7 d^6+21 d^5 e x+35 d^4 e^2 x^2+35 d^3 e^3 x^3+21 d^2 e^4 x^4+7 d e^5 x^5+e^6 x^6\right )+165 a^3 b x \left (28 d^6+112 d^5 e x+210 d^4 e^2 x^2+224 d^3 e^3 x^3+140 d^2 e^4 x^4+48 d e^5 x^5+7 e^6 x^6\right )+55 a^2 b^2 x^2 \left (84 d^6+378 d^5 e x+756 d^4 e^2 x^2+840 d^3 e^3 x^3+540 d^2 e^4 x^4+189 d e^5 x^5+28 e^6 x^6\right )+11 a b^3 x^3 \left (210 d^6+1008 d^5 e x+2100 d^4 e^2 x^2+2400 d^3 e^3 x^3+1575 d^2 e^4 x^4+560 d e^5 x^5+84 e^6 x^6\right )+b^4 x^4 \left (462 d^6+2310 d^5 e x+4950 d^4 e^2 x^2+5775 d^3 e^3 x^3+3850 d^2 e^4 x^4+1386 d e^5 x^5+210 e^6 x^6\right )\right )}{2310 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(488\) vs.
\(2(189)=378\).
time = 0.08, size = 489, normalized size = 1.93
method | result | size |
gosper | \(\frac {x \left (210 b^{4} e^{6} x^{10}+924 x^{9} a \,b^{3} e^{6}+1386 x^{9} b^{4} d \,e^{5}+1540 x^{8} a^{2} b^{2} e^{6}+6160 x^{8} a \,b^{3} d \,e^{5}+3850 x^{8} b^{4} d^{2} e^{4}+1155 x^{7} a^{3} b \,e^{6}+10395 x^{7} a^{2} b^{2} d \,e^{5}+17325 x^{7} a \,b^{3} d^{2} e^{4}+5775 x^{7} b^{4} d^{3} e^{3}+330 x^{6} a^{4} e^{6}+7920 x^{6} a^{3} b d \,e^{5}+29700 x^{6} a^{2} b^{2} d^{2} e^{4}+26400 x^{6} a \,b^{3} d^{3} e^{3}+4950 x^{6} b^{4} d^{4} e^{2}+2310 a^{4} d \,e^{5} x^{5}+23100 a^{3} b \,d^{2} e^{4} x^{5}+46200 a^{2} b^{2} d^{3} e^{3} x^{5}+23100 a \,b^{3} d^{4} e^{2} x^{5}+2310 b^{4} d^{5} e \,x^{5}+6930 x^{4} a^{4} d^{2} e^{4}+36960 x^{4} a^{3} b \,d^{3} e^{3}+41580 x^{4} a^{2} b^{2} d^{4} e^{2}+11088 x^{4} a \,b^{3} d^{5} e +462 x^{4} b^{4} d^{6}+11550 a^{4} d^{3} e^{3} x^{3}+34650 a^{3} b \,d^{4} e^{2} x^{3}+20790 a^{2} b^{2} d^{5} e \,x^{3}+2310 a \,b^{3} d^{6} x^{3}+11550 a^{4} d^{4} e^{2} x^{2}+18480 a^{3} b \,d^{5} e \,x^{2}+4620 a^{2} b^{2} d^{6} x^{2}+6930 a^{4} d^{5} e x +4620 a^{3} b \,d^{6} x +2310 a^{4} d^{6}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{2310 \left (b x +a \right )^{3}}\) | \(489\) |
default | \(\frac {x \left (210 b^{4} e^{6} x^{10}+924 x^{9} a \,b^{3} e^{6}+1386 x^{9} b^{4} d \,e^{5}+1540 x^{8} a^{2} b^{2} e^{6}+6160 x^{8} a \,b^{3} d \,e^{5}+3850 x^{8} b^{4} d^{2} e^{4}+1155 x^{7} a^{3} b \,e^{6}+10395 x^{7} a^{2} b^{2} d \,e^{5}+17325 x^{7} a \,b^{3} d^{2} e^{4}+5775 x^{7} b^{4} d^{3} e^{3}+330 x^{6} a^{4} e^{6}+7920 x^{6} a^{3} b d \,e^{5}+29700 x^{6} a^{2} b^{2} d^{2} e^{4}+26400 x^{6} a \,b^{3} d^{3} e^{3}+4950 x^{6} b^{4} d^{4} e^{2}+2310 a^{4} d \,e^{5} x^{5}+23100 a^{3} b \,d^{2} e^{4} x^{5}+46200 a^{2} b^{2} d^{3} e^{3} x^{5}+23100 a \,b^{3} d^{4} e^{2} x^{5}+2310 b^{4} d^{5} e \,x^{5}+6930 x^{4} a^{4} d^{2} e^{4}+36960 x^{4} a^{3} b \,d^{3} e^{3}+41580 x^{4} a^{2} b^{2} d^{4} e^{2}+11088 x^{4} a \,b^{3} d^{5} e +462 x^{4} b^{4} d^{6}+11550 a^{4} d^{3} e^{3} x^{3}+34650 a^{3} b \,d^{4} e^{2} x^{3}+20790 a^{2} b^{2} d^{5} e \,x^{3}+2310 a \,b^{3} d^{6} x^{3}+11550 a^{4} d^{4} e^{2} x^{2}+18480 a^{3} b \,d^{5} e \,x^{2}+4620 a^{2} b^{2} d^{6} x^{2}+6930 a^{4} d^{5} e x +4620 a^{3} b \,d^{6} x +2310 a^{4} d^{6}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{2310 \left (b x +a \right )^{3}}\) | \(489\) |
risch | \(\frac {\sqrt {\left (b x +a \right )^{2}}\, b^{4} e^{6} x^{11}}{11 b x +11 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (4 a \,b^{3} e^{6}+6 b^{4} d \,e^{5}\right ) x^{10}}{10 b x +10 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (6 a^{2} b^{2} e^{6}+24 a \,b^{3} d \,e^{5}+15 b^{4} d^{2} e^{4}\right ) x^{9}}{9 b x +9 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (4 a^{3} b \,e^{6}+36 a^{2} b^{2} d \,e^{5}+60 a \,b^{3} d^{2} e^{4}+20 b^{4} d^{3} e^{3}\right ) x^{8}}{8 b x +8 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (a^{4} e^{6}+24 a^{3} b d \,e^{5}+90 a^{2} b^{2} d^{2} e^{4}+80 a \,b^{3} d^{3} e^{3}+15 b^{4} d^{4} e^{2}\right ) x^{7}}{7 b x +7 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (6 a^{4} d \,e^{5}+60 a^{3} b \,d^{2} e^{4}+120 a^{2} b^{2} d^{3} e^{3}+60 a \,b^{3} d^{4} e^{2}+6 b^{4} d^{5} e \right ) x^{6}}{6 b x +6 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (15 a^{4} d^{2} e^{4}+80 a^{3} b \,d^{3} e^{3}+90 a^{2} b^{2} d^{4} e^{2}+24 a \,b^{3} d^{5} e +b^{4} d^{6}\right ) x^{5}}{5 b x +5 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (20 a^{4} d^{3} e^{3}+60 a^{3} b \,d^{4} e^{2}+36 a^{2} b^{2} d^{5} e +4 a \,b^{3} d^{6}\right ) x^{4}}{4 b x +4 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (15 a^{4} d^{4} e^{2}+24 a^{3} b \,d^{5} e +6 a^{2} b^{2} d^{6}\right ) x^{3}}{3 b x +3 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (6 a^{4} d^{5} e +4 a^{3} b \,d^{6}\right ) x^{2}}{2 b x +2 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, a^{4} d^{6} x}{b x +a}\) | \(603\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 1678 vs.
\(2 (193) = 386\).
time = 0.30, size = 1678, normalized size = 6.61 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 422 vs.
\(2 (193) = 386\).
time = 2.43, size = 422, normalized size = 1.66 \begin {gather*} \frac {1}{5} \, b^{4} d^{6} x^{5} + a b^{3} d^{6} x^{4} + 2 \, a^{2} b^{2} d^{6} x^{3} + 2 \, a^{3} b d^{6} x^{2} + a^{4} d^{6} x + \frac {1}{2310} \, {\left (210 \, b^{4} x^{11} + 924 \, a b^{3} x^{10} + 1540 \, a^{2} b^{2} x^{9} + 1155 \, a^{3} b x^{8} + 330 \, a^{4} x^{7}\right )} e^{6} + \frac {1}{210} \, {\left (126 \, b^{4} d x^{10} + 560 \, a b^{3} d x^{9} + 945 \, a^{2} b^{2} d x^{8} + 720 \, a^{3} b d x^{7} + 210 \, a^{4} d x^{6}\right )} e^{5} + \frac {1}{42} \, {\left (70 \, b^{4} d^{2} x^{9} + 315 \, a b^{3} d^{2} x^{8} + 540 \, a^{2} b^{2} d^{2} x^{7} + 420 \, a^{3} b d^{2} x^{6} + 126 \, a^{4} d^{2} x^{5}\right )} e^{4} + \frac {1}{14} \, {\left (35 \, b^{4} d^{3} x^{8} + 160 \, a b^{3} d^{3} x^{7} + 280 \, a^{2} b^{2} d^{3} x^{6} + 224 \, a^{3} b d^{3} x^{5} + 70 \, a^{4} d^{3} x^{4}\right )} e^{3} + \frac {1}{7} \, {\left (15 \, b^{4} d^{4} x^{7} + 70 \, a b^{3} d^{4} x^{6} + 126 \, a^{2} b^{2} d^{4} x^{5} + 105 \, a^{3} b d^{4} x^{4} + 35 \, a^{4} d^{4} x^{3}\right )} e^{2} + \frac {1}{5} \, {\left (5 \, b^{4} d^{5} x^{6} + 24 \, a b^{3} d^{5} x^{5} + 45 \, a^{2} b^{2} d^{5} x^{4} + 40 \, a^{3} b d^{5} x^{3} + 15 \, a^{4} d^{5} x^{2}\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b x\right ) \left (d + e x\right )^{6} \left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 660 vs.
\(2 (193) = 386\).
time = 1.07, size = 660, normalized size = 2.60 \begin {gather*} \frac {1}{11} \, b^{4} x^{11} e^{6} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{5} \, b^{4} d x^{10} e^{5} \mathrm {sgn}\left (b x + a\right ) + \frac {5}{3} \, b^{4} d^{2} x^{9} e^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {5}{2} \, b^{4} d^{3} x^{8} e^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {15}{7} \, b^{4} d^{4} x^{7} e^{2} \mathrm {sgn}\left (b x + a\right ) + b^{4} d^{5} x^{6} e \mathrm {sgn}\left (b x + a\right ) + \frac {1}{5} \, b^{4} d^{6} x^{5} \mathrm {sgn}\left (b x + a\right ) + \frac {2}{5} \, a b^{3} x^{10} e^{6} \mathrm {sgn}\left (b x + a\right ) + \frac {8}{3} \, a b^{3} d x^{9} e^{5} \mathrm {sgn}\left (b x + a\right ) + \frac {15}{2} \, a b^{3} d^{2} x^{8} e^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {80}{7} \, a b^{3} d^{3} x^{7} e^{3} \mathrm {sgn}\left (b x + a\right ) + 10 \, a b^{3} d^{4} x^{6} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {24}{5} \, a b^{3} d^{5} x^{5} e \mathrm {sgn}\left (b x + a\right ) + a b^{3} d^{6} x^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {2}{3} \, a^{2} b^{2} x^{9} e^{6} \mathrm {sgn}\left (b x + a\right ) + \frac {9}{2} \, a^{2} b^{2} d x^{8} e^{5} \mathrm {sgn}\left (b x + a\right ) + \frac {90}{7} \, a^{2} b^{2} d^{2} x^{7} e^{4} \mathrm {sgn}\left (b x + a\right ) + 20 \, a^{2} b^{2} d^{3} x^{6} e^{3} \mathrm {sgn}\left (b x + a\right ) + 18 \, a^{2} b^{2} d^{4} x^{5} e^{2} \mathrm {sgn}\left (b x + a\right ) + 9 \, a^{2} b^{2} d^{5} x^{4} e \mathrm {sgn}\left (b x + a\right ) + 2 \, a^{2} b^{2} d^{6} x^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{2} \, a^{3} b x^{8} e^{6} \mathrm {sgn}\left (b x + a\right ) + \frac {24}{7} \, a^{3} b d x^{7} e^{5} \mathrm {sgn}\left (b x + a\right ) + 10 \, a^{3} b d^{2} x^{6} e^{4} \mathrm {sgn}\left (b x + a\right ) + 16 \, a^{3} b d^{3} x^{5} e^{3} \mathrm {sgn}\left (b x + a\right ) + 15 \, a^{3} b d^{4} x^{4} e^{2} \mathrm {sgn}\left (b x + a\right ) + 8 \, a^{3} b d^{5} x^{3} e \mathrm {sgn}\left (b x + a\right ) + 2 \, a^{3} b d^{6} x^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{7} \, a^{4} x^{7} e^{6} \mathrm {sgn}\left (b x + a\right ) + a^{4} d x^{6} e^{5} \mathrm {sgn}\left (b x + a\right ) + 3 \, a^{4} d^{2} x^{5} e^{4} \mathrm {sgn}\left (b x + a\right ) + 5 \, a^{4} d^{3} x^{4} e^{3} \mathrm {sgn}\left (b x + a\right ) + 5 \, a^{4} d^{4} x^{3} e^{2} \mathrm {sgn}\left (b x + a\right ) + 3 \, a^{4} d^{5} x^{2} e \mathrm {sgn}\left (b x + a\right ) + a^{4} d^{6} x \mathrm {sgn}\left (b x + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \left (a+b\,x\right )\,{\left (d+e\,x\right )}^6\,{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________